<%@ page import="com.student.pojo.StuInfo" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%StuInfo stuInfo = (StuInfo) request.getAttribute("stuInfo");%>
<div id="login_frame">
    <form action="student.do" method="post" align="center" style="padding-top: 30px;border: 0px solid rebeccapurple">
        <input type="hidden" name="opr" value="updatePassword"/>
        <input type="hidden" name="id" value="<%=stuInfo.getId() %>" >
        &nbsp;密码:&nbsp;&nbsp;&nbsp;&nbsp;<input class="text_field" type="password" name="oldPassword" readonly value="<%=stuInfo.getPassword()%>">
        <br/><br/>
        新密码:&nbsp;&nbsp;<input class="text_field" type="password" name="password" required minlength="6" maxlength="6">
        <br/><br/>
        <input type="submit" value="确定修改"><br /><br />
    </form>
</div>
